#include "StdAfx.h"
#include "Frustum.h"

namespace Framework {

Frustum::Frustum(void) {
    this->Planes = new D3DXPLANE*[6];
    this->Planes[0] = &this->Bottom;
    this->Planes[1] = &this->Far;
    this->Planes[2] = &this->Left;
    this->Planes[3] = &this->Near;
    this->Planes[4] = &this->Right;
    this->Planes[5] = &this->Top;
}

Frustum::~Frustum(void) {
    delete [] this->Planes;
}

}
